Modernize .NET APM agent install testing for Linuxes#1388
Conversation
…M install on Linuxes
…gent-test-definitions-linux
|
Merging this now to unblock the .NET Linux test-def modernization work — everything else in the PR (Ubuntu 24.04 + AL2023 defs, .NET 10 runtime, parameterized deploy scripts, Temporary caveat, tracked separately: the four new test defs currently point at |
pranav-new-relic
left a comment
There was a problem hiding this comment.
LGTM. See top-level comment for the S3-bucket follow-up we're tracking separately.
Modernize .NET APM agent install testing on Linux
Adds end-to-end .NET agent install tests on current distros/runtimes — Amazon Linux 2023 & Ubuntu 24.04 running .NET 10 — while keeping the existing Ubuntu 20.04 / Amazon Linux 2 / .NET 5 definitions as an intentional old-to-new coverage matrix. All exercise the same apm/dotNet/linux-systemd recipe.
4 new definitions (US ubuntu24 + al2023, EU/JP ubuntu24) deploy self-contained and framework-dependent .NET 10 apps behind Apache and validate .NET Agent (installed). Existing defs are updated, not removed. All CI deploy jobs green.
Note: I created new .NET 10 sample app artifacts (self-contained + framework-dependent, entrypoint net10webapp, contents at archive root) and published them to an s3 bucket that I have write permissions to. For consistency, these should be moved to the same s3 bucket that is associated with this repo (
open-install-library-artifacts.s3-us-west-2.amazonaws.com), but I will need help from whoever owns that resource to accomplish this.Details
New test definitions (.NET 10, x86_64, Apache, full agent validation):
New runtime-install roles:
Deploy scripts made version-neutral + parameterized (apache/deploy-application/dotNet/{debian,rhel}):
Recipe fix (recipes/newrelic/apm/dotNet/linux-systemd.yml): add_gnupg2_if_required now guards the apt-get path on yum presence, so it no longer errors on RPM/dnf distros like AL2023.
Existing definitions (kept, not retired):
Misc: .gitignore ignores docs/superpowers/.